







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Enumerates all the items in collection that satisfy the condition defined
by predicate.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public static IEnumerable<T> FindWhere<T>( IEnumerable<T> collection, Predicate<T> predicate ) |
Visual Basic (Declaration) |
---|
Public Shared Function FindWhere(Of T) ( _ collection As IEnumerable(Of T), _ predicate As Predicate(Of T) _ ) As IEnumerable(Of T) |
Visual C++ |
---|
public: generic<typename T> static IEnumerable<T>^ FindWhere ( IEnumerable<T>^ collection, Predicate<T>^ predicate ) |
Parameters
- collection
- IEnumerable<(Of <T>)>
The collection to check all the items in.
- predicate
- Predicate<(Of <T>)>
A delegate that defines the condition to check for.
Return Value
An IEnumerable<T> that enumerates the items that satisfy the condition.
Type Parameters
- T
See Also
Algorithms Class
Wintellect.PowerCollections Namespace